package org.adream.account.dao;

import org.adream.account.entity.AccountMergeEntity;
import org.apache.ibatis.annotations.Param;

@BaseMybatisDao
public interface AccountMergeDao {
	
	int insertMergeInfo(@Param("uid")String uid,@Param("mergeUid")String mergeUid);

	AccountMergeEntity selectMyMerge(@Param("uid")String uid, @Param("isProcessed")boolean isProcessed);
	
	/**
	 * 最后一次合并信息
	 * @param uid
	 * @return
	 */
	AccountMergeEntity selectLastMergeByUid(String uid);
	
}
